from decimal import Decimal

# 设置促销商品
PROMOTION_GOODS_ID = "523948088470142"  # 促销商品ID （I）
PROMOTION_GOODS_PRICE = Decimal(139)  # 促销商品价格

PROMOTION_BENEFIT = Decimal(30)  # 店员促销收益
PROMOTION_BENEFIT_RATE = 0.2158  # 店员促销收益比例

PROMOTION_BENEFIT_OTHERS = Decimal(1)
PROMOTION_BENEFIT_OTHERS_RATE = 0.0072
PROMOTION_BENEFIT_STORE = PROMOTION_GOODS_PRICE * Decimal("0.3")  # 门店分润

# 优惠券设置
STORE_COUPON_GOODS_ID = "556854149767623"  # 餐券核销商品ID

# 新店酬宾活动商品
SHOP_OPENING_PROMO_GOODS_ID = "615200640419868"  # 新店酬宾活动商品ID

# 新人礼包
NEW_CUSTOMER_PROMO_GOODS_ID = "573631115863884"

# 首瓶全返余额活动配置
FIRST_REFUND_PROMOTION_GOODS_ARRAY = ["615200640419868"]
FIRST_REFUND_PROMOTION_START = "2022-05-18"
FIRST_REFUND_PROMOTION_END = "2022-05-25"

# 1980元 个人店主存酒商品
PARTNER_GOODS = [
    {
        "id": "665231918615119",
        "count": 6
    },
    {
        "id": "627637505511425",
        "count": 6
    },
    {
        "id": "637312428917318",
        "count": 6
    }
]

# 1元啤酒推广活动
BEER_PROMOTION_GOODS_ID = "678348489526782"
BEER_PROMOTION_BENEFIT = Decimal(5)
